package demo1;

public class Test {
    public static void main(String[] args) {
        MyArrayList arrayList = new MyArrayList();
        arrayList.add(5);
        arrayList.add(6);
        arrayList.add(10);
        arrayList.add(9);
        arrayList.display();
        System.out.println();
       arrayList.remove(5);
       arrayList.remove(20);
        arrayList.display();
    }




}
